<?php
/******************************
@Filename	:shownews.php
@Version	:0.0.1
@Author		:xuhongquan
@Update		:2010-4-15
@Content	:php by Editplus
*******************************/
header("Content-type: text/html; charset=utf-8"); 
define('NOROBOT', TRUE);
require_once './include/common.inc.php';
include_once './include/dtxx.inc.php';
$id=isset($_GET['id'])?intval($_GET['id']):0;
$news=news($id);
//print_r($news);die();
if(empty($news)){
	include template('error');
	die();
}else{
	$dates=date('Y年m月d日',strtotime($news['tdate']));
	$newtitle=$news['title'];
	if($news['jian']){
		$news['buname']='动态信息';
		$url='/news.php?type=jian';
	}else if($news['ishit']){
		$news['buname']='重要文电';
		$url='/news.php?type=ishit';
	}
	include template('news_1');
}
?>